extends Node

# 数据存储类

# 用户登录信息
var path_loginInfo = "res://数据存储/数据资源存放位置/loginInfo.tres"
func save_loginInfo(loginInfo:LoginInfo):
	ResourceSaver.save(loginInfo,path_loginInfo)
func load_loginInfo():
	return ResourceLoader.load(path_loginInfo)

# 设置信息
var path_settingsInfo = "res://数据存储/数据资源存放位置/settingsInfo.tres"
func save_settingsInfo(settingsInfo:SettingsInfo):
	ResourceSaver.save(settingsInfo,path_settingsInfo)
func load_settingsInfo():
	return ResourceLoader.load(path_settingsInfo)

# 棋谱保存地址
var path_manual = "user://manual.json"
